package com.adinnet.admin.schoolInform.mapper;

import com.adinnet.admin.schoolInform.model.SchoolInform;
import com.adinnet.admin.schoolInform.model.form.SchoolInformForm;
import com.adinnet.admin.schoolInform.model.vo.SchoolInformResp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 校区消息（管理端菜单） Mapper 接口
 * </p>
 *
 * @author chenjia
 * @since 2020-12-21
 */
public interface SchoolInformMapper extends BaseMapper<SchoolInform> {

    List<SchoolInformResp> queryList(Page<SchoolInformResp> page, @Param("schoolInformForm")SchoolInformForm schoolInformForm);

    void deleteIds(String informIds);

    void saveSendInform(@Param("title")String title, @Param("content")String content, @Param("schoolId")String schoolId, @Param("type")Integer type);

    List<String> getPushId(String schoolId);
}
